Skip to content

Update pose version requirement and optimize sum usage in pandas#59

Open
gbeane wants to merge 1 commit into
masterfrom
allow-newer-pose-formats
Open

Update pose version requirement and optimize sum usage in pandas#59
gbeane wants to merge 1 commit into
masterfrom
allow-newer-pose-formats

Conversation

@gbeane

@gbeane gbeane commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

This pull request makes two targeted improvements: it updates a regular expression to support newer pose estimation versions and simplifies the aggregation logic in the IoU scan generation function.

Regex and metadata updates:

  • Updated POSE_REGEX_STR in metadata.py to support pose estimation versions 2 through 8, instead of just 2 through 6.

Performance aggregation logic:

  • Simplified the aggregation step in generate_iou_scan in compare_gt.py by replacing .apply(np.sum) with .sum(), which is the recommended and more efficient approach for summing grouped DataFrame values.

@gbeane gbeane requested a review from bergsalex June 16, 2026 18:09
@gbeane gbeane self-assigned this Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant